package com.myworkbench.workbench.domain.entity.user;

import org.hibernate.annotations.Columns;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import javax.persistence.ColumnResult;
import javax.persistence.EntityResult;
import javax.persistence.FieldResult;
import java.util.List;


/**
 *  用户
 */
public  interface UserRepository extends  JpaRepository<User,Integer>, JpaSpecificationExecutor<User> {

    /**
     *   获取用户列表
     * @param isDelete
     * @return
     */
    List<User> findByIsDelete(Short isDelete);
}
